package com.weigee.ktv.presenter.adapter.rv

import android.view.LayoutInflater
import android.view.ViewGroup
import com.linde.library.adapter.BaseLvGvAdapter
import com.linde.library.adapter.SimpleViewHolder
import com.weigee.ktv.R

/**
 * Created by linde on 2017/6/16.
 * LinDe
 */
class PayingReplaceLocationAdapter : BaseLvGvAdapter<String>()
{
    override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): SimpleViewHolder
    {
        val itemView = LayoutInflater.from(parent?.context).inflate(R.layout.adapter_paying_replace_location, parent, false)
        return SimpleViewHolder(itemView)
    }

    override fun onBindViewHolder(holder: SimpleViewHolder?, position: Int)
    {
        super.onBindViewHolder(holder, position)
    }

    override fun getCount(): Int
    {
        return 3
    }
}